home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / (A)Z / (A)Z12.ADF / EpsnJX85.dat < prev    next >
Text File  |  1987-04-09  |  14KB  |  359 lines

  1. Printer specific data for the Amiga printer driver.
  2. ===================================================
  3.  
  4. Printer: EPSON JX-80 With Dots Perfect Upgrade    by Dan Hartman 870129
  5.  
  6. (Please, also read PrmFil.doc in addition to the comments here.
  7.  The program analyzing this file is looking for b/w/l/s followed by
  8.  a colon to mark the start of a parameter. Keep ALL parameters. If not
  9.  needed keep unchanged or in case of strings, delete the contents of the
  10.  string, but keep the s<colon> mark. Do NOT add comments after escape
  11.  sequences specified after s<colon>).
  12.  
  13. Comment, Data type(byte,word,long,string), Data
  14.  
  15. Version                                  w:    1
  16. Revision                                 w:    0
  17. Printer Class (add values)
  18.    (0=alphanum,1=graphics,2=color)       b:    2
  19. Color Class (your "ribbon" colors)
  20.     Black, White, Yellow, Magenta, Cyan
  21.    (1(BWonly),2(YMC),3(BWorYMC),4(BYMC))
  22.    If your printer uses Red, Green, Blue
  23.    instead then add 8 to above values
  24.    and use AmigaDOS 1.2                  b:    4
  25.  
  26. No of Pica size chars on Narrow Tractor  b:   80
  27. No of char sets                          b:   11
  28. No of seconds before timeout             l:   30
  29. Pica size (SHORP0, 0.01 Chars Per Inch)  w: 1000
  30. Elite size (SHORP2, 0.01 Chars Per Inch) w: 1200
  31. Fine size (SHORP4, 0.01 Chars Per Inch)  w: 2000
  32.  
  33. Specify paper parameters as you like. The
  34. following values are the standard ones
  35. US letter size
  36. Width (0.01 inch)                        w:  800
  37. Length  (0.01 inch)                      w: 1100
  38. Lines to skip at perforation at 6 LPI    w:    6
  39. RIN (2nd string, after delay etc.)       s:
  40.  
  41. US legal size
  42. Width  (0.01 inch)                       w:  800
  43. Length  (0.01 inch)                      w: 1400
  44. Lines to skip at perforation at 6 LPI    w:    6
  45. RIN (2nd string, after delay)            s:
  46.  
  47. Narrow tractor
  48. Width, narrow (0.01 inch)                w:  800
  49. Length, narrow (0.01 inch)               w:    0     (usually 0 = infinite)
  50. Lines to skip at perforation at 6 LPI    w:    6
  51. RIN (2nd string, after delay)            s:
  52.  
  53. Wide tractor
  54. Width  (0.01 inch)                       w: 1360
  55. Length  (0.01 inch)                      w:    0     (usually 0 = infinite)
  56. Lines to skip at perforation at 6 LPI    w:    6
  57. RIN (2nd string, after delay)            s:
  58.  
  59. Custom paper
  60. Width (0.01 inch)                        w:  800
  61. Length  (0.01 inch)                      w: 1100
  62. Lines to skip at perforation at 6 LPI    w:    0
  63. RIN (2nd string, after delay, see below) s:
  64.  
  65. Partial line up/down length
  66. (0.01 printer units at 6 LPI)            w: 1350
  67.  
  68. Colors for SFC and SBC:
  69. (use ^p2 or ^d2 to access them)                      NEC CP6
  70. No. 0 (30/40)                            b: 0        black
  71.  -- 1 (31/41)                            b: 1        magenta
  72.  -- 2   .                                b: 2        cyan
  73.  -- 3   .                                b: 3        violet
  74.  -- 4   .                                b: 4        yellow
  75.  -- 5   .                                b: 5        orange
  76.  -- 6   .                                b: 6        green
  77.  -- 7   .                                b: 0        black
  78.  -- 8   .                                b: 0        black
  79.  -- 9 (39/49)                            b: 0        black
  80.  
  81. Conversion Table
  82. (^X = ctrl-X, etc.
  83.  ^[ = ESC,
  84.  ^\ = FS,
  85.  ^<octal digits> = byte value,
  86.  ^^ = ^
  87.  
  88.  Certain parameters are followed by 1 or more numerical values as
  89.  parameters e.g. SLRM. They are stored in P[0], P[1] etc. and may
  90.  be accessed by inserting the following commands (e.g. ^p1)
  91.  
  92.  ^px = insert parameter byte P[x] as a binary byte here
  93.  ^dx = insert parameter byte P[x] as three decimal characters here
  94.  ^wx = insert parameter bytes P[x], P[x+1] as 5 decimal characters here
  95.  
  96.  Write string immediately after colon on one line only.
  97.  An empty string after colon specifies no simple conversion possible.
  98.  The SPACE character is significant.)
  99.  
  100.       Amiga                                Your Printer
  101.  
  102. RIS    ^[c     reset                     s:^[@
  103. RIN    ^[#1    initialize
  104. (common to all paper sizes excpt. custom
  105.  [see RIN below] followed by
  106.  a delay of 2 seconds,
  107.  VERPx, SHORPx, DENx, PROPx, SLRM, SLPP, PERFx
  108.  RIN (2nd string) as defined above)
  109.                                          s:^[@
  110. IND    ^[D     line feed                 s:^12
  111. NEL    ^[E     return line feed          s:^15^12
  112. RI     ^[M     reverse line feed         s:
  113.  
  114. SGR0   ^[[0m   normal character set      s:^[R^0
  115. SGR3   ^[[3m   italics on                s:^[4
  116. SGR23  ^[[23m  italics off               s:^[5
  117. SGR4   ^[[4m   underline on              s:^[-1
  118. SGR24  ^[[24m  underline off             s:^[-0
  119. SGR1   ^[[1m   boldface on               s:^[E
  120. SGR22  ^[[22m  boldface off              s:^[F
  121. SFC    ^[[3nm  n=0-9 set foregr. color   s:^[r^p2
  122. SBC    ^[[4nm  n=0-9 set background col. s:
  123.  
  124. SHORP0 ^[[0w   normal pitch              s:^[P^R^[W0
  125. SHORP2 ^[[2w   elite on                  s:^[M^R
  126. SHORP1 ^[[1w   elite off                 s:^[P
  127. SHORP4 ^[[4w   condensed fine on         s:^[M^17
  128. SHORP3 ^[[3w   condensed off             s:^22^[P
  129. SHORP6 ^[[6w   enlarged on               s:^[W1
  130. SHORP5 ^[[5w   enlarged off              s:^[W0
  131.  
  132. DEN6   ^[[6"z  shadow print on           s:
  133. DEN5   ^[[5"z  shadow print off          s:
  134. DEN4   ^[[4"z  doublestrike on           s:^[G
  135. DEN3   ^[[3"z  doublestrike off          s:^[H
  136. DEN2   ^[[2"z  near letter quality on    s:^[x1^[R^0
  137. DEN1   ^[[1"z  near letter quality off   s:^[x0^[R^0
  138.  
  139. SUS2   ^[[2v   superscript on            s:^[S0
  140. SUS1   ^[[1v   superscript off           s:^[T
  141. SUS4   ^[[4v   subscript on              s:^[S1
  142. SUS3   ^[[3v   subscript off             s:^[T
  143. SUS0   ^[[0v   normalize the line        s:^[T
  144. PLU    ^[L     partial line up           s:^[j^p0
  145. PLD    ^[K     partial line down         s:^[J^p0
  146.  
  147. FNT0   ^[(B    US char set               s:^[R^0
  148. FNT1   ^[(R    French char set           s:^[R^1
  149. FNT2   ^[(K    German char set           s:^[R^2
  150. FNT3   ^[(A    UK char set               s:^[R^3
  151. FNT4   ^[(E    Danish I                  s:^[R^4
  152. FNT5   ^[(H    Swedish                   s:^[R^5
  153. FNT6   ^[(Y    Italian                   s:^[R^6
  154. FNT7   ^[(Z    Spanish                   s:^[R^7
  155. FNT8   ^[(J    Japanese                  s:^[R^8
  156. FNT9   ^[(6    Norwegian                 s:^[R^9
  157. FNT10  ^[(C    Danish II                 s:^[R^10
  158.  
  159. PROP2  ^[[2p   proportional on           s:^[p1
  160. PROP1  ^[[1p   proportional off          s:^[p0
  161. PROP0  ^[[0p   proportional clear        s:
  162. TSS    ^[[n E  set proportional offset   s:
  163. JFY5   ^[[5 F  auto left justify         s:
  164. JFY7   ^[[7 F  auto right justify        s:
  165. JFY6   ^[[6 F  auto full justify         s:
  166. JFY0   ^[[0 F  auto justify off          s:
  167. JFY3   ^[[3 F  letter space, justify     s:
  168. JFY1   ^[[1 F  word fill, auto center    s:
  169.  
  170. VERP0  ^[[0z   1/8" line spacing         s:^[0
  171. VERP1  ^[[1z   1/6" line spacing         s:^[2
  172. SLPP   ^[[nt   set form length n         s:^[C^p0
  173. PERF   ^[[nq   perf skip n (n > 0)       s:^[N^p0
  174. PERF0  ^[[0q   perf skip off             s:^[O
  175.  
  176. LMS    ^[#9    left margin set           s:^[l^p4
  177. RMS    ^[#0    right margin set          s:^[Q^p5
  178. TMS    ^[#8    top margin set            s:
  179. BMS    ^[#2    bottom margin set         s:
  180. STBM   ^[[Pn1;Pn2r top & bottom margins  s:
  181. SLRM   ^[[Pn1;Pn2s left & right margins  s:^[l^p0^[Q^p1
  182. CAM    ^[#3    clear margins             s:^[l^p0^[Q^p1
  183.  
  184. HTS    ^[H     set horiz tab             s:
  185. VTS    ^[J     set vertical tab          s:
  186. TBC0   ^[[0g   clear horiz tab           s:
  187. TBC3   ^[[3g   clear all horiz tab       s:
  188. TBC1   ^[[1g   clear vertical tab        s:
  189. TBC4   ^[[4g   clear all vertical tabs   s:
  190. TBCALL ^[#4    clear all hor & vert tabs s:
  191. TBSALL ^[#5    set default tabs          s:
  192. EXTEND ^[[Pn"x extended commands         s:
  193.  
  194. The following are sequences needed for the printer specific code
  195. (only to be used when the full featured driver is generated)
  196.  
  197. RIN (custom paper, 1st string,
  198.      before 2 sec. delay followed
  199.      by RIN (2nd string) above)  s:
  200.  1. available for EXTEND ^[[1"x  s:
  201.  2. available for EXTEND ^[[2"x  s:
  202.  3. available for EXTEND ^[[3"x  s:
  203.  4. available for EXTEND ^[[4"x  s:
  204.  5. available for EXTEND ^[[5"x  s:
  205.  6. available for EXTEND ^[[6"x  s:
  206.  7. available for EXTEND ^[[7"x  s:
  207.  8. available for EXTEND ^[[8"x  s:
  208.  9. available for EXTEND ^[[9"x  s:
  209. 10. available for EXTEND ^[[10"x s:
  210.  
  211.  
  212. Density 1 (default at Draft, 6 LPI) graphics
  213.  
  214. No of Raster Rows (pins) on each pass     w:    8
  215. Max dots in X direction                   l:  480    (8 * 60)
  216. Max dots in Y direction (0=infinite)      l:    0
  217. Dots pr inch in X direction               w:   60
  218. Dots pr inch in Y direction               w:   72
  219. (the above parameters is used by AmigaDOS. Make sure, that they are
  220.  in accordance with the graphics mode parameters included in the
  221.  color prefixes below and sent to the printer)
  222.  
  223. Storage of dots in buffer
  224. (and sending the data to the printer)
  225. 0: row by row (some laser/ink jet)
  226. 1: column by column (dot matrix)          b:    1
  227.  
  228. Fill buffer bytes from
  229. 0: right to left, 1: left to right        b:    1
  230.  
  231. In 320 x 200 resolution the ratio pixel
  232. height/width = 1.2 on a monitor with the
  233. vertical height adjusted to let the monitor
  234. screen be totally filled by the picture.
  235. Some programs believe the ratio is 1
  236. (e.g DPaint) so if you primarily want
  237. to print proper squares
  238. and circles drawn by these programs
  239. specify here the divisor to divide into
  240. the real pixel height to give the
  241. pixel height used by these programs.
  242. Pixel height divisor * 100
  243.  (e.g. DPaint 120, monitor image 100)    w:  100
  244.  
  245. Sequence for printing colors
  246. (combination of ALL values 1,2,3,4;
  247.  specifies sequence of color data in print buffer;
  248.  colors for RGB printers in [...];,
  249.  leave as is for black/white printers)
  250. Print black [white] as no.               b:   1
  251.  ---  yellow [blue] as no.               b:   4
  252.  ---  magenta (redish) [green] as no.    b:   2
  253.  ---  cyan (blueish) [red] as no.        b:   3
  254.  
  255. Color black [white] prefix       s:^15^[r^0^[*^0^p1^p0
  256. Color yellow [blue] prefix       s:^15^[r^4^[*^0^p1^p0
  257. Color magenta [green] prefix     s:^15^[r^1^[*^0^p1^p0
  258. Color cyan [red] prefix          s:^15^[r^2^[*^0^p1^p0
  259. Init graphics before delay       s:^[A^010
  260. Init graphics after delay        s:
  261. Each single buffer terminated by s:^15^12
  262. Finish graphics dump             s:^14
  263.  
  264. Density 2 (default at Draft, 8 LPI) graphics
  265.  
  266. No of Raster Rows (pins) on each pass     w:    8
  267. Max dots in X direction                   l:  960
  268. Max dots in Y direction (0=infinite)      l:    0
  269. Dots pr inch in X direction               w:  120
  270. Dots pr inch in Y direction               w:   60
  271. Storage of dots in buffer
  272. 0: row by row (some laser/ink jet)
  273. 1: coloumn by column (dot matrix)         b:    1
  274.  
  275. Fill buffer bytes from
  276. 0: right to left, 1: left to right        b:    1
  277.  
  278. Pixel height divisor * 100
  279.  (e.g. DPaint 120, monitor image 100)     w:  100
  280.  
  281. Sequence for printing colors
  282. Print black as no.                        b:   1
  283.  ---  yellow as no.                       b:   4
  284.  ---  magenta (redish) as no.             b:   2
  285.  ---  cyan (blueish) as no.               b:   3
  286.  
  287. Color black prefix               s:^15^[r^0^[*^2^p1^p0
  288. Color yellow prefix              s:^15^[r^4^[*^2^p1^p0
  289. Color magenta prefix             s:^15^[r^1^[*^2^p1^p0
  290. Color cyan prefix                s:^15^[r^2^[*^2^p1^p0
  291. Init graphics before delay       s:^[A^10
  292. Init graphics after delay        s:
  293. Each single buffer terminated by s:^15^12
  294. Finish graphics dump             s:^14
  295.  
  296. Density 3 (default at Letter, 6 LPI) graphics
  297.  
  298. No of Raster Rows (pins) on each pass    w:    8
  299. Max dots in X direction                  l:  480
  300. Max dots in Y direction (0=infinite)     l:    0
  301. Dots pr inch in X direction              w:   60
  302. Dots pr inch in Y direction              w:   72
  303. Storage of dots in buffer
  304. 0: row by row (some laser/ink jet)
  305. 1: coloumn by column (dot matrix)        b:    1
  306.  
  307. Fill buffer bytes from
  308. 0: right to left, 1: left to right       b:    1
  309.  
  310. Pixel height divisor * 100
  311.  (e.g. DPaint 120, monitor image 100)    w:  100
  312.  
  313. Sequence for printing colors
  314. Print black as no.                       b:   1
  315.  ---  yellow as no.                      b:   4
  316.  ---  magenta (redish) as no.            b:   2
  317.  ---  cyan (blueish) as no.              b:   3
  318.  
  319. Color black prefix               s:^15^[r^0^[*^0^p1^p0
  320. Color yellow prefix              s:^15^[r^4^[*^0^p1^p0
  321. Color magenta prefix             s:^15^[r^1^[*^0^p1^p0
  322. Color cyan prefix                s:^15^[r^2^[*^0^p1^p0
  323. Init graphics before delay       s:^[A^10^[G
  324. Init graphics after delay        s:
  325. Each single buffer terminated by s:^15^12
  326. Finish graphics dump             s:^[H^14
  327.  
  328. Density 4 (default at Letter, 8 LPI) graphics
  329.  
  330. No of Raster Rows (pins) on each pass    w:    8
  331. Max dots in X direction                  l:  960
  332. Max dots in Y direction (0=infinite)     l:    0
  333. Dots pr inch in X direction              w:  120
  334. Dots pr inch in Y direction              w:   72
  335. Storage of dots in buffer
  336. 0: row by row (some laser/ink jet)
  337. 1: coloumn by column (dot matrix)        b:    1
  338.  
  339. Fill buffer bytes from
  340. 0: right to left, 1: left to right       b:    1
  341.  
  342. Pixel height divisor * 100
  343.  (e.g. DPaint 120, monitor image 100)    w:  100
  344.  
  345. Sequence for printing colors
  346. Print black as no.                       b:   1
  347.  ---  yellow as no.                      b:   4
  348.  ---  magenta (redish) as no.            b:   2
  349.  ---  cyan (blueish) as no.              b:   3
  350.  
  351. Color black prefix               s:^15^[r^0^[*^1^p1^p0
  352. Color yellow prefix              s:^15^[r^4^[*^1^p1^p0
  353. Color magenta prefix             s:^15^[r^1^[*^1^p1^p0
  354. Color cyan prefix                s:^15^[r^2^[*^1^p1^p0
  355. Init graphics before delay       s:^[A^10
  356. Init graphics after delay        s:
  357. Each single buffer terminated by s:^15^12
  358. Finish graphics dump             s:^14
  359.